package lormi.meipin.service.impl;




import org.springframework.stereotype.Service;

import lormi.meipin.entity.FeedBack;
import lormi.meipin.exception.LMException;
import lormi.meipin.service.BaseService;
import lormi.meipin.service.IFeedBackService;

@Service
public class FeedBackService extends BaseService implements IFeedBackService{

	@Override
	public void addFeedBack(Integer userid, String content) throws LMException {
		if (feedBackMapper.insert(new FeedBack(userid,content))<1) {
			throw new LMException(100035);
		}
	}
	
}
